import { Button } from 'antd-mobile'
import React from 'react'
import { useNavigate } from 'react-router-dom'

function Index() {
  let nav=useNavigate()
  return (
    <div>
      <Button onClick={()=>nav('/msglist')}> 发消息</Button>
    </div>
  )
}

export default Index
